package com.study.examples.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.study.examples.entity.UserInfo;
import com.study.examples.mapper.UserInfoMapper;
import com.study.examples.service.IUserInfoService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @ClassName: UserInfoServiceImpl
 * @Description:
 * @author: limingxing
 * @Date: 2020-01-15 15:40
 */
@Service
public class UserInfoServiceImpl implements IUserInfoService {


    @Resource
    private UserInfoMapper userInfoMapper;



    @Override
    public List<UserInfo> getList() {
        return userInfoMapper.selectList(new QueryWrapper<UserInfo>());

    }


}
